package com.cimu.principle.compositionaggregation.bad;

/**
 * Created by cgx
 */
public class ProductDao extends DBConnection{

    public void addProduct(){
        String conn = getConnection();
        System.out.println("使用"+conn+"增加产品");
    }
}
